package day02;
/**
 * 将字符串"123abc456def789ghi"中的英文部分替换为"#char#"
 * @author Bonnie
 *
 */
public class Test04 {
	public static void main(String[]args) {
		String mm="123abc45def789ghi";
		String aa="[\\p{Lower}\\p{Upper}]+";
		String bb=mm.replaceAll(aa, "#char#");
		System.out.println(bb);
		
		
	}

}
